<template>
  <button class="v-button">{{ propValue }}</button>
</template>

<script setup lang="ts">
defineProps(["propValue"]);
</script>

<style lang="scss">
.v-button {
  box-sizing: border-box;
  display: inline-block;
  width: 100px;
  height: 34px;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: #606266;
  text-align: center;
  white-space: nowrap;
  appearance: none;
  cursor: pointer;
  background: #fff;
  border: 1px solid #dcdfe6;
  outline: 0;
  transition: 0.1s;

  &:active {
    color: #3a8ee6;
    border-color: #3a8ee6;
    outline: 0;
  }

  &:hover {
    color: #3a8ee6;
    background-color: #ecf5ff;
  }
}
</style>
